package com.core.reach.cloudhub;

import com.core.reach.rule.CustomRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author ga.zhang
 * @version V1.0
 * @description: RibbonClient注解，对CLOUD-PAYMENT-SERVICE服务添加自定义负载均衡模式
 * @date 2020/3/24 14:19
 **/
@SpringBootApplication
@RibbonClient(name = "CLOUD-PAYMENT-SERVICE",configuration = CustomRule.class)
public class OrderMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OrderMain80.class, args);
    }
}
